package com.example.spring.receiver;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

//@Component
//@RabbitListener(queues = "direct-queue2")
public class DirectReceiver2 {

//    @RabbitHandler
//    public void directReceiver(String msg) {
//        System.out.println("directReceiver2:" + msg);
//    }
}
